package com.wolf.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wolf.common.utils.PageUtils;
import com.wolf.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.wolf.gulimall.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author wolfmoon
 * @email wolfmoon@gmail.com
 * @date 2022-11-15 16:09:03
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     *  新增关联关系
     * @param relationVos 属性ID和属性分组ID集合
     */
    void addRelation(List<AttrGroupRelationVo> relationVos);
}

